/* AJAXJS Base CSS */
body,
dl,
dt,
dd,
ul,
li,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td,
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
}
img {
  border: 0;
}
ul li {
  list-style-type: none;
}
.hide {
  display: none;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
}
a {
  text-decoration: none;
  color: #666;
  transition: color 0.4s ease-in-out;
}
a:hover {
  color: #000;
}
button {
  border: none;
  outline: 0;
  cursor: pointer;
  letter-spacing: 2px;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
input[type=password],
input[type=text],
select,
textarea {
  outline: 0;
  -moz-appearance: none;
}
/* 手机端浏览器所显示的网页 CSS */
@media screen and (max-width: 480px) {
  * {
    -webkit-tap-highlight-color: transparent;
    /* 很多 Android 浏览器的 a 链接有边框，这里取消它  */
    -webkit-touch-callout: none;
    /* 在 iOS 浏览器里面，假如用户长按 a 标签，都会出现默认的弹出菜单事件 */
    /* -webkit-user-select:none; */
  }
}


body {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif, "Lantinghei SC", "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑";
}

.box {
    width     : 1200px;
    height    : 600px;
    margin    : 0 auto;
    margin-top: 6%;
    position  : relative;
}

.box2 {
    border: 1px solid lightgray;
    padding: 1% 2%;
    margin: 0 auto;
}

.box>h1 {
    position  : absolute;
    top       : -1.9%;
    left      : 5%;
    border    : 2px solid #cfcfcf;
    text-align: center;
    z-index   : 10;
    padding   : 1% 3%;
    color     : gray;
    font-size : 18pt;
}

.box>div {
    position        : absolute;
    top             : 6%;
    right           : 0;
    width           : 1100px;
    min-height      : 560px;
    border          : 2px solid #bcbcbc;
    z-index         : 11;
    background-color: white;
}

.content {
    float  : right;
    width  : 72%;
    padding: 3%;
}

.content h2 {
    border-bottom: 1px solid lightgray;
    width        : 90%;
    margin       : 3% 0;
    font-size    : 1.4rem;
}

.content p {
    margin     : 2% 0;
    font-size  : .9rem;
    text-indent: 1rem;
}

menu {
    float        : left;
    border-right : 1px solid lightgray;
    padding-right: 4%;
    margin       : 5% 0;
}

menu li {
    list-style-type: disc;
    margin-bottom  : 15%;

}

.copyright {
    position  : absolute;
    text-align: center;
    width     : 100%;
    bottom    : -5%;
    font-size : .8rem;
    color     : gray;
}

.demo-list {
    padding: 2% 2%;
}

.demo-list li {
    list-style-type: none;
    display        : inline-block;
    border         : 1px solid gray;
    border-radius  : 5px;
    padding        : 3% 2%;
    margin-right   : 5%;
    margin-bottom  : 3%;
}

.demo-list li:hover {
    background-color: #eee;
}

.propertyTable {
    width    : 95%;
    margin   : 3% auto;
    font-size: .9rem;
}

ul.list li {
    list-style-type: disc;
    margin-left    : 30px;
    font-size      : .9rem;
    margin-top     : 1%;
}

.code {
    border-left: 3px solid lightgray;
    width      : 60%;
    color      : #333;
    padding    : 2% 1%;
    font-size  : .8rem;
    font-family: 'Courier New', Courier, monospace;
}

.aj-btn {
    min-height         : 30px;
    font-size          : 0.8rem;
    padding            : 0.4em 2.3em;
    margin             : 10px auto;
    color              : #333;
    letter-spacing     : 0.3em;
    border-radius      : 4px;
    border             : 1px solid #ccc;
    border-bottom-color: #B4B4B4;
    box-shadow         : 0 1px 3px rgba(0, 0, 0, 0.12);
    text-shadow        : 0 1px 0 rgba(255, 255, 255, 0.8);
    background-color   : lightgray;
    background-repeat  : repeat-x;
    cursor             : pointer;
    transition         : background-image 0.5s linear 1s;
    outline            : 0;
    background-image   : -webkit-linear-gradient(top, #ffffff 0%, #efefef 60%, #e1dfe2 100%);
    background-image   : -moz-linear-gradient(top, #ffffff 0%, #efefef 60%, #e1dfe2 100%);
    background-image   : -ms-linear-gradient(top, #ffffff 0%, #efefef 60%, #e1dfe2 100%);
    background-image   : -o-linear-gradient(top, #ffffff 0%, #efefef 60%, #e1dfe2 100%);
    background-image   : linear-gradient(top, #ffffff 0%, #efefef 60%, #e1dfe2 100%);
}

.aj-btn img {
    vertical-align: middle;
}

.aj-btn:hover {
    color       : black;
    border-color: #a6a6a6;
}

.aj-btn:active {
    box-shadow  : inset 0 3px 5px rgba(0, 0, 0, 0.2);
    border-color: #8c8c8c;
}

.aj-btn:focus {
    border-color: #999999;
}

.aj-btn:hover {
    background-position: 0px -10px;
}


.prettyprint {
    border-left     : 3px solid #d1d1e8;
    outline         : 0;
    resize          : none;
    font-size       : .8rem;
    overflow        : auto;
    padding         : 2px 10px;
    background-color: white;
    font-family     : 'Courier New', Courier, monospace !important;
}

xmp {
    font-family: 'Courier New', Courier, monospace !important;
}

/*
    CODE Pretty Print
*/
.prettyprint xmp {
    margin: 0;
}

.pln {
    color: #000
}

@media screen {
    .str {
        color: #080
    }

    .kwd {
        color: #008
    }

    .com {
        color: #800
    }

    .typ {
        color: #606
    }

    .lit {
        color: #066
    }

    .pun,
    .opn,
    .clo {
        color: #660
    }

    .tag {
        color: #008
    }

    .atn {
        color: #606
    }

    .atv {
        color: #080
    }

    .dec,
    .var {
        color: #606
    }

    .fun {
        color: red
    }
}

@media print,
projection {
    .str {
        color: #060
    }

    .kwd {
        color      : #006;
        font-weight: bold
    }

    .com {
        color     : #600;
        font-style: italic
    }

    .typ {
        color      : #404;
        font-weight: bold
    }

    .lit {
        color: #044
    }

    .pun,
    .opn,
    .clo {
        color: #440
    }

    .tag {
        color      : #006;
        font-weight: bold
    }

    .atn {
        color: #404
    }

    .atv {
        color: #060
    }
}

.aj-table td, .aj-table th {
    text-align: center;
    font-size: .9rem;
}